<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <%@include file="/WEB-INF/page/comm/head.jsp"%>
</head>
<body>

    <div class="container" style="width: 70%;margin-top: 80px">
        <form class="form-horizontal" method="post" action="${ctx}/user/uploadCard" enctype="multipart/form-data">
            <div class="form-group">
                <label class="col-md-3">请选择证件:</label>
                <div class="col-md-8">
                    <input type="file" name="cardImg" class="form-control">
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3">证件描述:</label>
                <div class="col-md-8">
                    <textarea class="form-control" name="cardDesc"></textarea>
                </div>
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-primary pull-right">确认上传</button>
            </div>
        </form>
    </div>

<%@include file="/WEB-INF/page/comm/foot.jsp"%>
<script>
    $("[name=cardImg]").fileinput();
</script>
</body>
</html>